﻿using Common.Models;
using System.ComponentModel;

namespace Application.Features.Organizations.Specifications;

/// <summary>
/// 组织机构高级查询
/// </summary>
 public class OrganizatioAdvancedFilter : BaseFilter
{
    /// <summary>
    /// 组织机构名称
    /// </summary>
    [Description("组织机构名称")]
    public virtual string? OrganizationName { get; set; }

    /// <summary>
    /// 状态
    /// </summary>
    [Description("状态")]
    public virtual bool? IsActive { get; set; }

    /// <summary>
    /// 查询条件
    /// </summary>
    /// <returns></returns>
    public override string ToString() => $"OrganizationName:{OrganizationName},IsActive:{IsActive}";
}
